package org.jeecg.chase.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.jeecg.chase.modules.entity.AdhShopCategory;

import java.util.List;
import java.util.Map;

/**
 * @author leikai
 * @version 1.0
 * @description:
 * @date 2022/01/08/0008 15:32
 */
public interface IAdhShopCategoryService extends IService<AdhShopCategory> {

    public void deleteById(String id);

    public boolean updateStatus(String id, Integer status);

    public List<Map<String, Object>> queryParentData();
    public List<Map<String, Object>> querySubCategoryData( String categoryId);
    public List<AdhShopCategory> queryCategoryForWeChatIndex();
    public List<AdhShopCategory> querySubCategory(String categoryId);
    public List<Map<String,Object>> queryMerchCoupponByCategory(String categoryId);
    public List<Map<String,Object>> queryMerchCoupponByCategoryAndCity( String categoryId,  String city);
    public List<Map<String,Object>> queryMerchByCategoryAndCity(  String categoryId,  String city);
    public List<Map<String,Object>> searchCoupon( String searchKey);
}
